package com.mapgoo.main

import org.apache.log4j.{Level, Logger}
import org.apache.spark.sql.SparkSession

import scala.util.Random

/**
  *
  * @author eureka.wh
  * @since 2019-05-30 14:22
  */
object Main {

  def main(args: Array[String]): Unit = {

    var teachers = Array("A","B","C")

    val name = teachers(Random.nextInt(teachers.length))

    name match {
      case "A" => println("我是A")
      case "B" => println("我是B")
      case "C" => println("我是的C")
      case  _  => println("我的其他")
    }


  }

}
